Slider Horizontal Movement

 

The slider function allows you to change the value of an assigned analog input tag by clicking and moving a specific graphic element with the left mouse button (proportional to the moved position).

In the graphic element settings dialog, select the extension tab and click the button to open the settings dialog box as shown in <Figure 1>.

 

<Figure 1> Example of Slider Horizontal Movement Settings Dialog

 

In the tag editor of <Figure 1> or by clicking the button, set the analog input tag associated with the slider, and configure the movement range and tag value changes.

The movement range in the slider horizontal movement settings dialog is entered as numbers (pixels) for the left and right movement ranges based on the selected graphic element.

Additionally, enter the tag values for the leftmost and rightmost positions.

If you check (V) the area in the tag value change area, the minimum (left) and maximum (right) values of the tag will be set as the tag value changes.

Typically, the tag connected to the slider uses an analog input memory tag.

 

Note: The movement range of the slider is entered as numbers (pixels) based on the current position of the graphic element inserted in the graphic module (relative position). (Not absolute coordinates)

 

Related Helps

Slider Vertical Movement

Types of Scripts

Scripts for Each Graphic Element

Executing Scripts

Main Script Help